<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>图片固定</title>
    <style>
        body{
            background-image: url(../mi-prj/imgs/banner-4.png);
            background-size: 1600px 1080px;
            background-repeat: no-repeat;
            background-position:center 100px;
            background-attachment: fixed;
        }
        #outer{
            width: 1226px;
            height: 460px;
            margin: auto;
            background-size: contain;
            background-image: url(../mi-prj/imgs/图片10.png)
        }
        #first{
            width: 1600px;
            height: 700px;
            margin: auto;
            background-size: contain;
            background-image: url(../mi-prj/imgs/图片11.png);
        }
        #second{
            width: 1600px;
            height: 270px;
            margin: auto;
            background-size: contain;
            background-image: url(../mi-prj/imgs/图片12.png);
        }
        #third{
            width: 1600px;
            height: 270px;
            margin: auto;
            background-size: contain;
            background-image: url(../mi-prj/imgs/图片13.png);
        }
        #four{
            width: 1600px;
            height: 430px;
            margin: auto;
            background-size: contain;
            background-image: url(../mi-prj/imgs/图片14.png);
        }
        .nav{
                width: 850px;
                height: 100px;
                float: left;
                text-align: center;
                margin: auto;
            }

        .nav ul{
                list-style: none;
                padding: 28px 0 0 30px;
                position: relative;
                display: flex;
                justify-content: space-around;
        }
            
        .nav a{
                font-size: 24px;
                color: black;
                text-decoration: none;
                text-align: center;
        }
        .nav li{
                float: left;
                margin-left: 50px;
        }
            
        .nav a:hover{
                background-color: aliceblue;
                color: red;
        }
        

        
    </style>
</head>
<body>
    <div id="outer">
    </div>
    <div id="first">
    </div>
    <div id="second">
    </div>
    <div id="third">
    </div>
    <div id="four">
    </div>
   <div class="nav">
                <ul>
                    <li><a href="#">Healthy&nbsp;food&nbsp;and&nbsp;Nutrtion</a></li>
                    <li><a href="#">climate&nbsp;action</a></li>
                    <li><a href="#">circular&nbsp;economy</a></li>
                    <li><a href="#">food&nbsp;safety&nbsp;and&nbsp;quality</a></li>
                    <li><a href="#">nature-based&nbsp;solutions</a></li>
                </ul>
            </div>
           
     
</body>
</html>